home *** CD-ROM | disk | FTP | other *** search
- | > !Surface.!Run
- |
- | Run file for Surface
- |
- | by Chris Johnson
- |
- RMEnsure UtilityModule 3.10 Error This application is only suitable for use with RISC OS 3.10 or later versions
- |
- If "<Surface$Running>" = "yes" Then Error Surface is already running
- |
- IconSprites <Obey$Dir>.!Sprites
- |
- | Find path to file
- Set Surface$Dir <Obey$Dir>
- |
- If "<Font$Prefix>"="" Then Error You need to double click on !Fonts before running this application
- |
- set temp$flag 1
- RMEnsure ABCLibrary 0 set temp$flag 0
- RMensure ABCLibrary 4.00 if "<temp$flag>" = "1" Then Error 0 Old ABCLib installed Else RMLoad <Obey$Dir>.ABCLib
- RMensure ABCLibrary 4.00 Error You need the ABClibrary ver 4.00 or later installed
- |
- set temp$flag 1
- RMEnsure CJWimpUtil 0 set temp$flag 0
- RMEnsure CJWimpUtil 0.17 if "<temp$flag>" = "1" Then Error 0 Old CJWimpUtil module installed Else RMLoad <Obey$Dir>.cjWimpUtil
- RMEnsure CJWimpUtil 0.17 Error You need the CJWimpUtil module installed
- |
- set temp$flag 1
- RMEnsure CJdrawUtil 0 set temp$flag 0
- RMEnsure CJdrawUtil 0.15 if "<temp$flag>" = "1" Then Error 0 Old CJdrawUtil installed Else RMLoad <Obey$Dir>.cjdrawUtil
- RMEnsure CJdrawUtil 0.15 Error You need the CJdrawUtil module installed
- unset temp$flag
- |
- |
- | Check memory allocation
- WimpSlot -min 224K -max 224K
- |
- | Now start program
- Run <Obey$Dir>.!RunImage %*0
-